<?php
namespace app\Index\controller;
use think\Controller;
use think\Db;
class Members extends Controller
{
    public function member()
    {
        $data = Db::table('directory_of_members')->field('name,sex,education,situation,work')->paginate(16);
        // var_dump($data);
        $this->assign('list',$data);
        return $this->fetch('member/member');
    }  
}